package com.cms.pms;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

/**
 * 配置对象
 * @author zhoushuang
 *
 */
public interface Configuration  extends ApplicationContextAware{
	/**
	 * 配置组件关系，并启动服务线程
	 */
	void build();
	
	/**
	 * 获取Spring ApplicationContext
	 * @return
	 */
	ApplicationContext  getApplicatonContext();
}
